class FuturePublication < ActiveRecord::Migration
  def self.up
     add_column :medias, :publicationdate, :datetime, :null => false
     add_column :medias, :expirationdate, :datetime,:default =>'0000-00-00 00:00:00', :null => false
  end

  def self.down
     remove_column :medias, :publicationdate
		 remove_column :medias, :expirationdate
  end
end
